﻿using System;
using AutoCompleteControl;

namespace DemoWebApp
{
    public class Global : System.Web.HttpApplication
    {

        protected void Application_Start(object sender, EventArgs e)
        {
            AutoCompleteControl.AutoCompleteControl.DirtyWords = new System.Collections.Generic.List<Word>
                {
                    new Word
                    {
                        Text    = "dirtyWord1",
                        WordId  = 21,
                        IsDirty = true
                    },
                    new Word
                    {
                        Text    = "dirtyWord2",
                        WordId  = 22,
                        IsDirty = true
                    }
                };
        }

        protected void Session_Start(object sender, EventArgs e)
        {
            var s = new StaticDatasource();
        }

        protected void Application_BeginRequest(object sender, EventArgs e)
        {

        }

        protected void Application_AuthenticateRequest(object sender, EventArgs e)
        {

        }

        protected void Application_Error(object sender, EventArgs e)
        {

        }

        protected void Session_End(object sender, EventArgs e)
        {

        }

        protected void Application_End(object sender, EventArgs e)
        {

        }
    }
}